colorscale: Refactor creating the hue texture
authorTimm Bäder <mail@baedert.org>
Sat, 26 Sep 2020 08:12:33 +0000 (10:12 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:12 +0000 (15:06 -0400)
commit4b8f3e9b924e2b21273638a904bbd8d1056c548b
tree92d99b655a70b1eeb1f66379691f366cc95a19b9
parent769b15c29b01764f7ef8b6196e79f7ca6206f5cb
colorscale: Refactor creating the hue texture

Make this a bit shorter and don't call gtk_hsv_to_rgb in the inner
loop as that is unnecessary.
gtk/gtkcolorscale.c